/*
 *
 * Author: Andreas Wüstenberg (andreas.wuestenberg@rwth-aachen.de), Clemens Boennen (clemens.boennen@rwth-aachen.de)
 */

#ifndef RTPS_SENDER_H
#define RTPS_SENDER_H

#include <rtps/entities/Domain.h>
#include "rtps/config.h"

struct Sender{
    rtps_Domain m_domain;
    struct rtps_Writer *mp_dataWriter;
    uint32_t m_numSamples;
    uint32_t m_index;
};
void Sender(struct Sender *pSender, uint32_t numSamples);
void Sender_run(struct Sender *pSender);
void Sender_prepareRTPS(struct Sender *pSender);
void Sender_runWithIndex(struct Sender *pSender, uint32_t index);

#endif //RTPS_SENDER_H
